﻿@if(Request.IsAuthenticated) {
    <text>Welcome <strong>@User.Identity.Name</strong>!
    [ @Html.ActionLink("Log Off", "Login", "User") ]</text>
}
else {
    @:[ @Html.ActionLink("Log On", "Login", "User") ]
}
